Deploying Adapters
To deploy your technology adapter for the Calibo Accelerate platform, refer to the following steps. In these steps, we have mentioned the Bitbucket code repository and the Docker deployment mode as an example.
-
Code Repository Setup
To push your adapter code to the source code repository, contact the Calibo Support Team.
-
Docker Configuration
Create a Docker file in the root directory of the repository. Refer to the following example structure:
CopyFROM calibo/nr_openjdk-11:latest
COPY /build/libs/plf-sampleadapter-integration-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["sh", "-c", "java -jar app.jar --spring.cloud.config.uri=${uri} --spring.cloud.config.profile=${profile}"] - Jenkins Configuration
-
Duplicate an existing adapter build job in Jenkins.
-
Update the job with the following changes:
-
Change the repository URL and branch name to point to the newly created adapter.
-
Jenkins Job URL: To access this URL, contact the Calibo Support Team.
-
-
- Application Properties
If the adapter requires application-specific properties, add them to a new folder in the source code repository. To access the repository, contact the Calibo Support Team.
- Update Helm Repository
Add a values.yml file for the new service in the plf-helm-repository.
- Execute Jenkins Job
Run the newly created Jenkins job to build and deploy the adapter.
What's next? Logging Standards |